var path = require('path')
var webpack = require('webpack')

module.exports = {
	entry: './src/index.js',
	output: {
		path: path.resolve(__dirname, './build'),
		publicPath: '/dist/',
		filename: 'index-bundle.js'
	},
	module: {
		rules:[
			{
				test: /\.js$/,
				loader: 'babel-loader',
				exclude: /node_modules/
			}
		]
	}
}